package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderVehicleDetails对象", description="订单管理明细")
public class OrderVehicleDetails {
    @ApiModelProperty(value = "批售单号")
    @TableField("ORDER_ID")
    private String orderId;
    @ApiModelProperty(value = "订货单号")
    @TableField("ORDER_CAR_ID")
    private String orderCarId;
    @ApiModelProperty(value = "配置")
    @TableField("CATALOG_CODE")
    private String catalogCode;
    @ApiModelProperty(value = "内饰颜色")
    @TableField("COLOR_CODE_IN")
    private String colorCodeIn;
    @ApiModelProperty(value = "外饰颜色")
    @TableField("COLOR_CODE_OUT")
    private String colorCodeOut;
    @ApiModelProperty(value = "发运日期")
    @TableField("DISPATCH_DATE")
    private Date dispatchDate;
    @ApiModelProperty(value = "返利金额")
    @TableField("REBATE_ACCOUNT")
    private BigDecimal rebateAccount;
    @ApiModelProperty(value = "返利比例")
    @TableField("REBATE_PROPORTION")
    private Integer rebateProportion;
    @ApiModelProperty(value = "自提")
    @TableField("IS_PICKUP")
    private String isPickup;
    @ApiModelProperty(value = "选装包代码")
    @TableField("CUSTOM_PACK_CODES")
    private String customPackCodes;
    @ApiModelProperty(value = "电池包代码")
    @TableField("BATTERY_PACK_CODE")
    private String batteryPackCode;
    @ApiModelProperty(value = "收货人")
    @TableField("LINKMAN")
    private String linkman;
    @ApiModelProperty(value = "联系方式")
    @TableField("LINKPHONE")
    private String linkphone;
    @ApiModelProperty(value = "收货地址")
    @TableField("STORAGE_CODE")
    private String storageCode;
    @ApiModelProperty(value = "付款方式")
    @TableField("PAYWAY")
    private String payway;
    @ApiModelProperty(value = "收货时间")
    @TableField("TAKEOVER_TIME")
    private Date takeoverTime;
}
